// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}


.table {
  // background-color: #007acc;
  background-color: transparent;
  border-left-color:transparent ;
  thead {
    &.is-group {
      th {
        background-color: #2a387d;
        &.el-table__cell {
          background-color: #2a387d;
        }
      }
    }
  }

  th,td,tr {
    background-color: transparent;
    border-bottom-color:transparent;
    text-align: center;
    &.el-table__cell {
      background-color: transparent;
      border-bottom-color:transparent;
      text-align: center;
    }

    &.is-leaf {
      border-bottom-color:transparent;
    }
    &.el-table__cell {
      &.is-leaf {
        border-bottom-color:transparent;
      }
    }
  }

  th {
    padding: 8px 0;
    color: #fff;
    &.el-table__cell {
      padding: 8px 0;
      color: #fff;
    }
  }
  td {
    padding: 8px 0;
    color:#b6bee7;
    &.el-table__cell {
      padding: 8px 0;
      color: #b6bee7;
    }
  }
  .cell {
    line-height: 24px;
  }

  &__header {
    th {
      border-left-color: transparent;
      border-right: transparent;
      background-color: #2a387d;
      &.is-leaf {
        border-left-color: transparent;
        border-right: transparent;
        background-color: #2a387d;
      }
      &.el-table__cell{
        border-left-color: transparent;
        border-right: transparent;
        background-color: #2a387d;
        &.is-leaf {
          border-left-color: transparent;
          border-right: transparent;
          background-color: #2a387d;
        }
      }
    }
  }

  &__body {
    tr {
      td {
        border-left-color: transparent;
        border-right: transparent;
        &.el-table__cell{
          border-left-color: transparent;
          border-right: transparent;
         
        }
      }

      &:nth-child(2n+1) {
        td {
          background-color: #2d3d88;
          &.el-table__cell {
            background-color: #2d3d88;
          }
        }
      }
      &:nth-child(2n) {
        td {
          background-color: #2a387d;
          &.el-table__cell {
            background-color: #2a387d;
          }
        }
      }
      &:hover {
        & > td {
          background-color: #4455ac;
          &.el-table__cell {
            background-color: #4455ac;
          }
        }
      }

      &.el-table__row {
        &.row-selected,&.current-row {
         & > td {
           border-bottom: 1px solid #2a387d;
           background-color: #37489b;
           color: #fff;
           &.el-table__cell {
             border-bottom: 1px solid #2a387d;
             background-color: #37489b;
             color: #fff;
           }
         }
        }
      }

    }
  }

  &__row {
    &.row-selected,&.current-row {
      & > td {
        border-bottom: 1px solid #2a387d;
        background-color: #37489b;
        color: #fff;
        &.el-table__cell {
          border-bottom: 1px solid #2a387d;
          background-color: #37489b;
          color: #fff;
        }
      }
    }
  }

  &--enable-row-hover {
    .el-table__body {
      tr {
        &:nth-child(2n+1) {
          td {
            background-color: #2d3d88;
            &.el-table__cell {
              background-color: #2d3d88;
            }
          }
        }
        &:nth-child(2n) {
          td {
            background-color: #2a387d;
            &.el-table__cell {
              background-color: #2a387d;
            }
          }
        }


        &.el-table__row {
          &.row-selected,&.current-row {
           & > td {
             border-bottom: 1px solid #2a387d;
             background-color: #37489b;
             color: #fff;
             &.el-table__cell {
               border-bottom: 1px solid #2a387d;
               background-color: #37489b;
               color: #fff;
             }
           }
          }
        }

        &:hover {
          & > td {
            background-color: #4455ac;
            &.el-table__cell {
              background-color: #4455ac;
            }
          }
        }

      }
    }
  }

  &--group {
    border-top-color:transparent;
    th {

    }
    &::after {
      background-color: transparent;
    }
  }


  &__fixed {
    &::before {
      background-color: transparent;
    }
    &-right {
      &::before {
        background-color: transparent;
      }
     
    }
  }

  &::before {
    background-color: transparent;
  }
  &.flex-table-dody-fill {
    height: 100%;
    display: flex;
    flex-direction: column;

    & > .el-table__body-wrapper {
      flex: 1;
      overflow-y: auto;
    }
    .el-table__fixed,.el-table__fixed-right {
      display: flex;
     flex-direction: column;
    //  .el-table__fixed-header-wrapper {

    //  }
    .el-table__fixed-body-wrapper {
      bottom:0;
      overflow: hidden;
    }

    }
  }

  &.group-has-border {
    thead.is-group {
      th {
        border:1px solid #2d3d88;
      }
    }
  }

}
::v-deep {
  
}
// 分页
.el-pagination {
  // display: flex;
  // justify-content: center;
  text-align: center;
}
